package com.lollipop.demo.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenApiConfig {

    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("Redis签到功能API文档")
                        .version("1.0")
                        .description("用于测试签到功能的API接口文档，包含用户签到、查询签到记录等接口"));
    }
}